import request from '@/utils/request'

export const getArticlesAPI = (obj) => {
  return request.get('/interview/query', {
    params: {
      current: obj.current,
      sorter: obj.sorter,
      pageSize: 50
    }
  })
}

// 2.
export const getArticleDetailAPI = (id) => {
  return request.get('interview/show', {
    params: {
      id
    }
  })
}
